home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 2
/
Atari Mega Archive CD - Volume 2.iso
/
minix
/
up1510b.tgz
/
up1510b
/
src
/
commands
/
printenv.c
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-19
|
188b
|
11 lines
/* printenv - print the current environment Author: Richard Todd */
main()
{
extern char **environ;
char **sptr;
for (sptr = environ; *sptr; ++sptr) {
prints("%s\n", *sptr);
}
}